home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 5
/
Amiga Tools 5.iso
/
grafik
/
3d & render tools
/
irit
/
man
/
man6
/
creparam.6
< prev
next >
Wrap
Text File
|
1996-07-16
|
1KB
|
33 lines
.TH CREPARAM
6 "IRIT Version 6.0"
.SH NAME
CREPARAM
CurveType CREPARAM( CurveType Curve, NumericType MinParam,
NumericType MaxParam )
Reparametrize Curve over a new domain from MinParam to MaxParam.
This operation does not affect the geometry of the curve and only affine
transforms its knot vector. A Bezier curve will automatically be promoted
into a Bspline curve by this function.
Example:
arc1 = arc( vector( 0.0, 0.0, 0.0 ),
vector( 0.5, 2.0, 0.0 ),
vector( 1.0, 0.0, 0.0 ) );
crv1 = arc( vector( 1.0, 0.0, 0.75 ),
vector( 0.75, 0.0, 0.7 ),
vector( 0.5, 0.0, 0.85 ) ) +
arc( vector( 0.5, 0.0, 0.75 ),
vector( 0.75, 0.0, 0.8 ),
vector( 1.0, 0.0, 0.65 ) );
arc1 = CREPARAM( arc1, 0, 10 );
crv1 = CREPARAM( crv1, 0, 10 );
Sets the domain of the given two curves to be from zero to ten. The
Bezier curve arc1 is promoted to a Bspline curve.